From version 9.2, ReplayBuffer
accepts mmap_prefix
keyword at constructor. If mmap_prefix
is specified, internal memory data are mapped on files by using mmap.
This feature is useful when a required memory size is larger than physical RAM size. Since the data is stored on file directly, this might be slower.
The file names are f"{mmap_prefix}_{name}.dat"
.